package com.sven.sharedb.range.service;


import com.sven.sharedb.range.entity.dto.UpdateByExampleDTO;

import java.util.Date;

/**
 * @author sven.wang
 * @version 2022/4/26 17:57
 */
public interface IShareDbService {

    String selectBySql(String orderId, Date createDate, Date beginDate, Date endDate);

    String selectByExample(String orderId, Date createDate, Date beginDate, Date endDate);

    int updateBySql(UpdateByExampleDTO dto);

    int updateByExample(UpdateByExampleDTO dto);

    int deleteBySql(UpdateByExampleDTO dto);

    int deleteByExample(UpdateByExampleDTO dto);

    String selectJoinDetailBySql(String orderId, Date createDate, Date beginDate, Date endDate);
}
